package Odhgos_Polhs;

import java.util.ArrayList;

public class Admin extends GenUser{
    
    //Attributes
    
    private ArrayList<Restaurant>  restaurantList = new ArrayList<Restaurant>();  //Υλοποίηση της σχέσης με την Restaurant

    //2 Constructors
    //1 με το λογαριασμό και 1 χωρίς
    public Admin(int ID, String onoma, String eponymo, String Email, String thlefono) {
        super(ID, onoma, eponymo, Email, thlefono);
    }

    public Admin(int ID, String onoma, String eponymo, String Email, String thlefono, Account account) {
        super(ID, onoma, eponymo, Email, thlefono, account);
    }

    //All Getters & Setters
    public ArrayList<Restaurant> getRestaurantList() {
        return restaurantList;
    }

    public void setRestaurantList(ArrayList<Restaurant> restaurantList) {
        this.restaurantList = restaurantList;
    }

    
}// End Class Admin
